<%--
  Created by IntelliJ IDEA.
  User: CXYZF
  Date: 2024/10/10
  Time: 21:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=GB18030">
    <title>图书信息</title>
    <style type="text/css">
        #container {
            width: 450px;
            border: solid 1px;
            padding: 20px;
        }

        #title {
            font-size: 16px;
            font-weight: bold;
            color: #3399ff;
        }

        #content {
            font-size: 12px;
            text-align: left;
        }
    </style>
</head>
<body>
<jsp:useBean id="book" class="com.example.chapter5.person"></jsp:useBean>
<jsp:useBean id="encoding" class="com.example.chapter5.person"></jsp:useBean>
<jsp:setProperty name="book" property="*"/>
<div align="center">
    <div id="container">
        <div id="title">
            <%= encoding.toString(book.getTitle())%>
        </div>
        <hr>
        <div id="content">
            <%= encoding.toString(book.getContent())%>
        </div>
    </div>
</div>
</body>
</html>